module.exports = function (grunt) {
	grunt.initConfig({
		jade:{
			compile:{
				files:[
					{expand:true, cwd:'Demo1', src:['*.jade'], dest:'Demo1', ext:'.html'},
					{expand:true, cwd:'Demo2', src:['*.jade'], dest:'Demo2', ext:'.html'}
				]
			}
		},

		sass:{
			compile:{
				files:[
					{expand:true, cwd:'Demo1/css', src:['*.scss'], dest:'Demo1/css', ext:'.css'}
				]
			}
		},
		watch:{
			jade:{files:['**/**.jade'], tasks:['jade']},
			sass:{files:['**/**.scss'], tasks:['sass']}
		}

	});

	grunt.loadNpmTasks('grunt-contrib-jade');
	grunt.loadNpmTasks('grunt-contrib-sass');
	grunt.loadNpmTasks('grunt-contrib-watch');

}